setTextOnPathOffset

abstract fun setTextOnPathOffset(block: DesignBlock, offset: Float)

Sets the start offset along the baseline path as a proportion of the path length.

Values are clamped to [-1, 1]; 1 and -1 wrap back to the path start.

Parameters

block

the text block to modify.

offset

the proportional offset.